#include "NormalBullet.h"

#define BALL_IMAGE L"ball.png"
#define NORMAL_BULLET L"NORMAL_BULLET.png"


CNormalBullet::CNormalBullet()
{
	position_.x = 100;
	position_.y = 100;

	velocity_.x = 0.1f;
	velocity_.y = 0.1f;

	LoadSprites();
}


CNormalBullet::~CNormalBullet()
{
}


void CNormalBullet::Render()
{
	spriteVector_[0]->Render(0, -1, position_);
}


void CNormalBullet::Update(DWORD deltaTime)
{
	Update0Right(deltaTime);
}


void CNormalBullet::LoadSprites()
{
	spriteVector_.push_back(new CSprite(BALL_IMAGE, 1, 1, 1));
}


void CNormalBullet::UpdateKeyBoard(CInput* inputDevice)
{}


void CNormalBullet::Update0Right(DWORD deltaTime)
{
	position_.x += velocity_.x * deltaTime;
}